package com.demo.designmode.facade;

/**
 * @Author: jxm
 * @Description: 外观模式 测试
 * @Date: 2023-12-13 15:09
 * @Version: 1.0
 */
public class Client {
    public static void main(String[] args) {
        //创建外观对象
        SmartAppliancesFacade facade = new SmartAppliancesFacade();
        //客户端直接与外观对象进行交互
        facade.say("打开家电");
        System.out.println("---------------");
        facade.say("关闭家电");
    }
}
